package com.ms.game.lobby.bulletin;

import java.io.Serializable;

public class BulletinTitleInfo implements Serializable{

	/** 停用 */
	public static final int STATUS_DISABLE = 0;

	/** 啟用 */
	public static final int STATUS_ENABLE = 1;

	/** 過期 */
	public static final int STATUS_EXPIRE = 2;

	/** 系統公告 */
	public static final int TYPE_SYSTEM_BULLETIN = 0;

	/** 活動公告 */
	public static final int TYPE_ACTIVITY_BULLETIN = 1;

	/**
	 * 
	 */
	private static final long serialVersionUID = 7784516254431847352L;
	
	// 公告編號
	private int bulletinId;

	// 公告開始時間
	private long startTime;
	
	// 公告標題
	private String title;
	
	/**
	 * 公告狀態  0：停用  、 1:啟用 、 2:過期<br>
	 * ref: {@link #STATUS_DISABLE}
	 */
	private int status;
	
	/**
	 * 公告類型<br>
	 * ref: {@link #TYPE_SYSTEM_BULLETIN}
	 */
	private int type;
	
	// 公告結束時間
	private long endTime;

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long time) {
		this.startTime = time;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getBulletinId() {
		return bulletinId;
	}

	public void setBulletinId(int bulletinId) {
		this.bulletinId = bulletinId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public long getEndTime() {
		return endTime;
	}

	public void setEndTime(long endTime) {
		this.endTime = endTime;
	}
	
	
}
